home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / systems / unixtkit / man.arc / CMP.MAN < prev    next >
Text File  |  1988-03-28  |  994b  |  67 lines

  1.  
  2.  
  3.  
  4.         CMP                   ST-UNIX User's Manual                   CMP
  5.  
  6.  
  7.  
  8.         COMMAND
  9.              cmp - file comparator.
  10.  
  11.         FORMAT
  12.              cmp [ -l ] [ -s ] file1 file2
  13.  
  14.         DESCRIPTION
  15.              The two files are compared with value 0 returned if they are
  16.              the  same,  1  otherwise.   Specifying  a `-' for _✓f_✓i_✓l_✓e_✓1 will
  17.              cause standard input to be read instead.  _✓C_✓m_✓p  acts  quietly
  18.              if  the  files  are equivalent.  If they are different, then
  19.              the byte and line number of the first difference is  printed
  20.              and unless the -l option is used _✓c_✓m_✓p will exit.
  21.  
  22.              Options:
  23.  
  24.              -l    Gives the byte number (in decimal) and  the  differing
  25.                    bytes (in octal) for each difference.
  26.  
  27.              -s    Acts quietly even if files are different.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.         Printed 28/March/1988     30 March 1987                         1
  64.  
  65.  
  66.  
  67.